#ifndef FRIENDLISTITEM_H
#define FRIENDLISTITEM_H

#include <QWidget>

namespace Ui {
class FriendListItem;
}

class FriendListItem : public QWidget
{
    Q_OBJECT

public:
    explicit FriendListItem(QWidget *parent = 0);
    ~FriendListItem();

    void SetItem(int Item);
    int  GetItem();


    void SetId(QString Id);
    QString  GetId();



    //// 更新项的信息
    void updateItemInfo(QVector<QString> UserOrderFormList,char i);

signals:

    void SignalThisItemClicked(QString,QString);



private:
    Ui::FriendListItem *ui;


    int m_Item;         ///在好友列表中第几项

    QString m_nId;

    //// 鼠标点击事件
    void mousePressEvent(QMouseEvent *event);

};

#endif // FRIENDLISTITEM_H
